<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- 헤더 정보를 읽어오는 스크립트 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%= request.getHeader("host") %>
</br>
Host is : ${ header["host"]}
</br>
Host is : ${ header.host}
</br>

Method is <%= request.getMethod() %>
</br>
Method is ${pageContext.request.method}

<%--	자바 명명 규칙에 어긋나게 사용한 경우 범위 객체를 사용할 것 ; 
	request.setAttribute("foo.person", p);
	${ foo.person.name }
	${ requestScope["foo.person"].name }
 --%>

</br>
</body>
</html>